home *** CD-ROM | disk | FTP | other *** search
/ Star Festival... a Return to Japan / Star Festival... a Return to Japan.iso / pc / STARFESTIVAL / 01p4.dir / 00001.ls next >
Encoding:
Text File  |  1999-04-07  |  1.6 KB  |  56 lines

  1. on startMovie
  2.   global gKnobSprite, gSendMovie
  3.   gKnobSprite = 14
  4.   gSendMovie = "01p4"
  5.   setUpKnob()
  6.   puppetSprite(48, 1)
  7.   set the mouseDownScript to EMPTY
  8.   set the mouseUpScript to EMPTY
  9. end
  10.  
  11. on idle
  12.   global gCursorReady
  13.   if gCursorReady = 1 then
  14.     cursor(200)
  15.     checkCursors()
  16.     set the locH of sprite 48 to the mouseH
  17.     set the locV of sprite 48 to the mouseV
  18.     updateStage()
  19.   end if
  20. end
  21.  
  22. on checkCursors
  23.   global gMagCursor
  24.   set the castNum of sprite 48 to the number of member "curs1"
  25.   if the castNum of sprite 5 and rollOver(5) then
  26.     set the castNum of sprite 48 to the number of member gMagCursor
  27.   end if
  28.   if the castNum of sprite 6 and rollOver(6) then
  29.     set the castNum of sprite 48 to the number of member gMagCursor
  30.   end if
  31.   if the castNum of sprite 7 and rollOver(7) then
  32.     set the castNum of sprite 48 to the number of member gMagCursor
  33.   end if
  34.   if the castNum of sprite 8 and rollOver(8) then
  35.     set the castNum of sprite 48 to the number of member "deMagCursor"
  36.   end if
  37.   repeat with i = 15 to 17
  38.     if rollOver(i) then
  39.       set the castNum of sprite 48 to the number of member "hotCursor"
  40.     end if
  41.   end repeat
  42.   repeat with i = 30 to 32
  43.     if rollOver(i) then
  44.       set the castNum of sprite 48 to the number of member "hotCursor"
  45.     end if
  46.   end repeat
  47.   repeat with i = 40 to 42
  48.     if rollOver(i) then
  49.       set the castNum of sprite 48 to the number of member "hotCursor"
  50.     end if
  51.   end repeat
  52.   if the castNum of sprite 47 and rollOver(47) then
  53.     set the castNum of sprite 48 to the number of member "hotCursor"
  54.   end if
  55. end
  56.